package team.newexcellence.tsfitness.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import team.newexcellence.tsfitness.service.ArticleService;

@Controller
@RequestMapping("/article")
public class ArticleController {
    @Autowired
    private ArticleService articleService;

    public ArticleService getArticleService() {
        return articleService;
    }

    public void setArticleService(ArticleService articleService) {
        this.articleService = articleService;
    }
    @RequestMapping("/findAllArticle")
    public String findAllArticle(){
        return null;
    }
    @RequestMapping("/findArticleByName")
    public String findArticleByName(String articleName){
        return null;
    }
}
